package com.sqfw.project.wp.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;

/**
 * 工单退回表对象 wp_back_info
 *
 * @author lx
 * @date 2023-06-07
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WpBackInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Excel(name = "主键")
    private String scid;

    /**
     * 工单
     */
    @Excel(name = "工单")
    private String wpid;

    /**
     * 退回日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退回日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date backDate;

    /**
     * 退回部门
     */
    @Excel(name = "退回部门")
    private String backDept;

    /**
     * 退回理由
     */
    @Excel(name = "退回理由")
    private String backRefuse;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String operator;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String state;

    /**
     * 操作选项
     */
    @Excel(name = "操作选项")
    private String nextState;

    /**
     * 退单原因分类
     */
    @Excel(name = "退单原因分类")
    private String backClass;

    /**
     * 承办单位部门
     */
    @Excel(name = "承办单位部门")
    private String deptLevel2;

    //工单来源
    private String scidType;

    //坐席人员姓名
    private String nickName;

    private String code;

    private List<String> wpids;

    private List<String> codes;
}
